package com.minjiang.blog.mode;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@SuppressWarnings("all")
public class Blog {
    private Long id;
    private String title;

    private String description;

    private Date updateTime;

    private Long typeId;
    private Long userId;

    private Type type;
    private User user;


    //    private String description;
//    private List<Comment> comments = new ArrayList<>();
//    private String content;
//    private String firstPicture;
//    private String flag;
//    private Integer views;

//    private Integer commentCount;

//    private boolean appreciation;
//    private boolean shareStatement;
//    private boolean commentabled;
//    private boolean published;
//    private boolean recommend;
//    private Date createTime;
}
